package com.fr.privilege.authentication;

public class UsernamePasswordAuthentication extends AbstractAuthentication
{
  private static final long serialVersionUID = 6960222935018884817L;
  private String username;
  private String password;

  public UsernamePasswordAuthentication(String paramString1, String paramString2)
  {
    this.username = paramString1;
    this.password = paramString2;
  }

  public Object getCredentials()
  {
    return this.password;
  }

  public Object getPrincipal()
  {
    return this.username;
  }
}